﻿<Window x:Name="root"  x:Class="ClickCount.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid DataContext="{Binding ElementName=root}">
        <Button Content="Click me :)" Height="23" HorizontalAlignment="Left" Margin="178,69,0,0" Name="clickBtn" VerticalAlignment="Top" Width="159" Click="clickBtn_Click" />
        <Label Content="{Binding ClickCount}" Width="auto" Height="28" HorizontalAlignment="Left" Margin="238,138,0,0" Name="label1" VerticalAlignment="Top" />
    </Grid>
</Window>
